<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>登录页面</title>
  </head>
  <body>
  	 <s:form name="form" action="login.action" method="post">
	     <s:textfield name="username" label="username"></s:textfield>
	     <s:password name="password" label="password"></s:password>
	     <s:submit label="submit"></s:submit>
	  </s:form>
	  <s:actionerror/>
  </body>
</html>
